projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7344a03
)
widget-factory: Show Ctrl-? in the menu
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Jun 2021 12:59:30 +0000
(08:59 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Jun 2021 12:59:30 +0000
(08:59 -0400)
We use our own action for showing the shortcuts window,
so we need to associate this shortcut with our action
for it to show up.
demos/widget-factory/widget-factory.c
patch
|
blob
|
history
diff --git
a/demos/widget-factory/widget-factory.c
b/demos/widget-factory/widget-factory.c
index b5a6662ec9ebc9de16f160d58ae6455954f0bdc1..5b10ecdd744b60c75ed8531ddd36b996f6deb22a 100644
(file)
--- a/
demos/widget-factory/widget-factory.c
+++ b/
demos/widget-factory/widget-factory.c
@@
-1997,6
+1997,7
@@
activate (GApplication *app)
const char *accelerators[2];
} accels[] = {
{ "app.about", { "F1", NULL } },
+ { "app.shortcuts", { "<Control>question", NULL } },
{ "app.quit", { "<Control>q", NULL } },
{ "app.open-in", { "<Control>n", NULL } },
{ "win.dark", { "<Control>d", NULL } },